﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>{$sitename} - 邮箱认证</title>
{include file="header"/}
</head>
<body>
<!-- // sign-header end -->
<div class="layout" id="sign-content">
  <div class="ui-box ui-qire sign-focus" id="login-box">
    <div class="ui-title fn-clear">
     <span>切换其他账户登录，<a href="{:zanpian_user_url('user/login/index')}">点击登录</a></span>
      <h2>邮箱认证</h2>
    </div>
    <div class="ui-cnt fn-clear">
    	<form id="sendmailform"  method="post">
        <div class="signup_div">
          <div class="activation">
            <h3>为了订阅网站内容网站需要进行邮箱认证</h3>
            <p>认证激活链接已发送至：{$email} 有效期1小时,请尽快验证,如未收邮件请点击，<a id="resendemail" class="link_3" href="javascript:send_newmail();">重新发送认证邮件</a></p>
            {php}
            	$emailurl = $email ? str_replace('@', '',strstr($email, '@')) : '';
				$str = 'http' ;
				if(strcasecmp($emailurl,"gmail.com") == 0){
					$str = 'https' ;
				}
            {/php}
            <div class="btn"><a target="_blank" href="{$str}://mail.{$emailurl}/" class="link_1">点击进入邮箱激活</a></div>
            <div class="faq">
            	<a class="link_3" href="{$siteurl}">返回首页</a>
            	&nbsp;&nbsp;&nbsp;&nbsp;
            	
            </div>
          </div>
        </div>
        </form>
        <script>
        	function send_newmail(){
        		 $("#sendmailform").qiresub({
     				curobj : $("#resendemail"),
     				txt : '数据提交中,请稍后...',
     				onsucc : function(result) {
     					$.hidediv(result);
     				}
     			}).post({
     				url : "{:zp_url('user/reg/send')}"
     			});
        	}
        </script>
      <!-- // ui-form End -->
    </div>
  </div>
</div>
{include file="footer"/}
<!-- // sign-content end -->
</body>
</html>